//
//  FFShareView.h
//  FFMall
//
//  Created by IT.Bear on 16/6/22.
//  Copyright © 2016年 IT.Bear. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef enum : NSUInteger {
    ShareTypeDefault,
    ShareTypeFound,
} ShareType;

typedef void(^resultCallback)(BOOL sucessful, NSString *snsName);

@interface FFShareView : UIView

@property (nonatomic,assign)ShareType shareType;
/**
 *  分享
 *
 *  @param controller 所在的VC
 *  @param shareText  分享文字
 *  @param shareImage 分享图片
 *  @param shareUrl   分享链接
 *  @param callBack   结果回调
 */
- (void)showWithSnsSheetView:(UIViewController *)controller
                  shareTitle:(NSString *)shareTitle
                   shareText:(NSString *)shareText
                   shareImage:(UIImage *)shareImage
                   shareUrl:(NSString *)shareUrl
                   callBack:(resultCallback)callBack;
@end
